package com.yeskery.boot.log.record.starter.persistence;

import com.yeskery.boot.log.record.starter.domain.LogRecord;
import com.yeskery.boot.log.record.starter.extend.ILogRecordService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * 默认保存日志记录接口实现
 * @author dushuangjiang
 * @date 2021-11-17 17:39
 */
public class DefaultLogRecordServiceImpl implements ILogRecordService {

    private static final Log log = LogFactory.getLog(DefaultLogRecordServiceImpl.class);

    @Override
    public void record(LogRecord logRecord) {
        log.info("【logRecord】log=" + logRecord.toString());
    }
}
